PEGetGraphTextInfo

Use PEGetGraphTextInfo to retrieve the title text information set for the specified chart. This function is used with PEGetHandleString.

C Syntax
BOOL CRPE_API PEGetGraphTextInfo (
        short printJob,
        short sectionN,
        short graphN,
        WORD titleType,
        HANDLE FAR *title,
        short FAR *titleLength );
Parameters

printJob

Specifies the print job for which you want to retrieve title text information.

sectionN

Specifies the number of the section in which the chart appears. This parameter should be within the range obtained by PEGetNSections.

graphN

Specifies the 0-based index number of the chart for which you want to retrieve the title text information. Charts are numbered based on their order of insertion into the report.

titleType

Specifies the title type. Use one of the PE_GTT_XXX Graph Title Type Constants.

title

Specifies a pointer to the handle of the title.

titleLength

Specifies a pointer to the length of the title.

Returns
VB Syntax
Declare Function PEGetGraphTextInfo Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal sectionN As Integer,
    ByVal graphN As Integer, ByVal titleType As Integer,
    title As Long, titleLength As Integer ) As Integer
Delphi Syntax
function PEGetGraphTextInfo (
printJob : Smallint;
sectionN : Smallint;
graphN : Smallint;
titleType : Word;
var title : Hwnd;
var titleLength : Smallint): Bool; {$ifdef WIN32} stdcall; {$endif}


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com